package com.rzl.expense.expense.mapper;

import java.util.List;
import com.rzl.expense.expense.domain.TwrOilPowerFee;

/**
 * 油机发电费账单Mapper接口
 * 
 * @author expense
 * @date 2024-11-30
 */
public interface TwrOilPowerFeeMapper 
{
    /**
     * 查询油机发电费账单
     * 
     * @param oilPowerFeeId 油机发电费账单主键
     * @return 油机发电费账单
     */
    public TwrOilPowerFee selectTwrOilPowerFeeByOilPowerFeeId(String oilPowerFeeId);

    /**
     * 查询油机发电费账单列表
     * 
     * @param twrOilPowerFee 油机发电费账单
     * @return 油机发电费账单集合
     */
    public List<TwrOilPowerFee> selectTwrOilPowerFeeList(TwrOilPowerFee twrOilPowerFee);

    /**
     * 新增油机发电费账单
     * 
     * @param twrOilPowerFee 油机发电费账单
     * @return 结果
     */
    public int insertTwrOilPowerFee(TwrOilPowerFee twrOilPowerFee);

    /**
     * 修改油机发电费账单
     * 
     * @param twrOilPowerFee 油机发电费账单
     * @return 结果
     */
    public int updateTwrOilPowerFee(TwrOilPowerFee twrOilPowerFee);

    /**
     * 删除油机发电费账单
     * 
     * @param oilPowerFeeId 油机发电费账单主键
     * @return 结果
     */
    public int deleteTwrOilPowerFee(String yearmonth);

    /**
     * 批量删除油机发电费账单
     * 
     * @param oilPowerFeeIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteTwrOilPowerFeeByOilPowerFeeIds(String[] oilPowerFeeIds);

    public void batchTwrOilPowerFee(List<TwrOilPowerFee> list);

}
